<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>用户管理0202</title>
    
</head>
<body>
{extend name="extends/usercenter" /}
<div>
    {block name="left"}
        <h2>功能列表</h2>

    <li>
        <a href="{:url('index')}">用户列表</a>

    </li>
    <li>
        <a href="{:url('add')}">
            用户增加
        </a>
    </li>
    {/block}
    {block name="content"}
    <div>
        <a href="{:url('UserAdmin/index',['group_id'=>input('group_id')])}">
            返回分类列表
        </a>

        <table class="table table-hover">
            <thead>
            <tr>
                <th> id</th>
                <th> Name</th>
                <th>权限</th>
                <th>动作</th>

            </tr>
            </thead>
            <tbody>
            {volist name="user.list" id="lv"}
            <tr>
                <td>
                    {$lv->id}
                </td>
                <td>
                    {$lv->username}
                </td>
                <td>
                    {$lv.auth}
                </td>
                <td>
                    <a
                            type="button" href="{:url('edit',['id'=>$lv->id])}"
                            class="btn btn-primary btn-sm">
                        编辑
                    </a>

                </td>
            </tr>

            {/volist}

            </tbody>

        </table>


    </div>
    <div>
        {$user.page}
    </div>
    <script type="text/javascript">
        function shenme(){

        }
    </script>

    {/block}


</div>
</body>
</html>
